﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RedesII_DTL;
using RedesII_DAL;

namespace RedesII_BLL
{
    public class UserBo
    {
        public UserDto GetById(int id)
        {
            UserDao user = new UserDao();
            return user.GetById(id);
        }

        public void InsertUser(UserDto user)
        {
            new UserDao().InsertUser(user);
        }
    }
}
